#ifndef				__NETWORK_H__
#define				__NETWORK_H__

#include			"TcpServer.h"
#include			"UdpServer.h"
#include			"async.h"
#include			"handler.h"
#include			"ApiNetwork.h"

class				Network
{
	friend			ApiNetwork;
public:
	Network(Async&, PacketHandler*);
	~Network();

private:
	TcpServer		_tcpServer;
	UdpServer		_udpServer;

public:
	ApiNetwork		*getApi();
	void			start();

};

#endif // !__NETWORK_H__
